package com.freesky.biz.icbc.model;

import com.icbc.api.AbstractIcbcRequest;
import com.icbc.api.BizContent;
import com.icbc.api.internal.util.fastjson.annotation.JSONField;

// 1101,活动信息新建申请
public class IcbcActivityAppRequestV1 extends AbstractIcbcRequest<IcbcActivityAppResponseV1> {

    public Class<IcbcActivityAppResponseV1> getResponseClass()
    {
        return IcbcActivityAppResponseV1.class;
    }

    public boolean isNeedEncrypt()
    {
        return false;
    }

    public String getMethod() {
        return "POST";
    }

    public Class<? extends BizContent> getBizContentClass()
    {
        return IcbcActivityAppRequestV1Biz.class;
    }

    public static class IcbcActivityAppRequestV1Biz implements BizContent {

        @JSONField(name="mti")
        private String mti;

        @JSONField(name="mctcode")
        private String mctcode;

        @JSONField(name="activityid")
        private String activityid;

        @JSONField(name="department")
        private String department;

        @JSONField(name="name")
        private String name;

        @JSONField(name="begintime")
        private String begintime;

        @JSONField(name="endtime")
        private String endtime;

        @JSONField(name="amt")
        private String amt;

        @JSONField(name="iratotal")
        private String iratotal;

        @JSONField(name="irasum")
        private String irasum;

        @JSONField(name="remarks")
        private String remarks;

        @JSONField(name="trantime")
        private String trantime;

        @JSONField(name="body")
        private String body;

        //private List<IcbcActivityAppRequestV1BizBody> body;


        public String getMti() {
            return mti;
        }

        public void setMti(String mti) {
            this.mti = mti;
        }

        public String getMctcode() {
            return mctcode;
        }

        public void setMctcode(String mctcode) {
            this.mctcode = mctcode;
        }

        public String getActivityid() {
            return activityid;
        }

        public void setActivityid(String activityid) {
            this.activityid = activityid;
        }

        public String getDepartment() {
            return department;
        }

        public void setDepartment(String department) {
            this.department = department;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getBegintime() {
            return begintime;
        }

        public void setBegintime(String begintime) {
            this.begintime = begintime;
        }

        public String getEndtime() {
            return endtime;
        }

        public void setEndtime(String endtime) {
            this.endtime = endtime;
        }

        public String getAmt() {
            return amt;
        }

        public void setAmt(String amt) {
            this.amt = amt;
        }

        public String getIratotal() {
            return iratotal;
        }

        public void setIratotal(String iratotal) {
            this.iratotal = iratotal;
        }

        public String getIrasum() {
            return irasum;
        }

        public void setIrasum(String irasum) {
            this.irasum = irasum;
        }

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public String getBody() {
            return body;
        }

        public void setBody(String body) {
            this.body = body;
        }

        public String getTrantime() {
            return trantime;
        }

        public void setTrantime(String trantime) {
            this.trantime = trantime;
        }
    }

    public static class IcbcActivityAppRequestV1BizBody{

        @JSONField(name="irasno")
        private String irasno;

        @JSONField(name="iramess")
        private String iramess;

        @JSONField(name="amt")
        private String amt;

        @JSONField(name="mess")
        private String mess;

        public String getIrasno() {
            return irasno;
        }

        public void setIrasno(String irasno) {
            this.irasno = irasno;
        }

        public String getIramess() {
            return iramess;
        }

        public void setIramess(String iramess) {
            this.iramess = iramess;
        }

        public String getAmt() {
            return amt;
        }

        public void setAmt(String amt) {
            this.amt = amt;
        }

        public String getMess() {
            return mess;
        }

        public void setMess(String mess) {
            this.mess = mess;
        }
    }
}
